﻿using CatUtils.Utils.Helper;
using SinaImgUpload.Helper;

namespace SinaImgUpload.SainTool.Configuration
{
    internal class ConfigurationValue
    {
        private static string configurationPath = StaticValue.BinPath + "UserConfiguration.xml";

        private static bool compressImg = false;
        private static bool watermark = false;

        public string ConfigurationPath { get => ConfigurationPath1; set => ConfigurationPath1 = value; }

        /// <summary>
        /// 是否压缩
        /// </summary>
        public static bool CompressImg { get => compressImg; set => compressImg = value; }

        /// <summary>
        /// 是否去水印
        /// </summary>
        public static bool Watermark { get => watermark; set => watermark = value; }

        /// <summary>
        /// 信息文件
        /// </summary>
        public static string ConfigurationPath1 { get => configurationPath; set => configurationPath = value; }
    }
}